The Heap of the Living Dead: Post-mortem Memory Profiling for Java Applications
نویسندگان
چکیده
Managed memory, i.e., garbage collected memory, has gained wide-spread use because it relieves the programmer from freeing heap objects manually and allows for fast allocations. However, these advantages come at the cost of a difficult to understand memory manager and garbage collector. Therefore, searching for memory-related performance degredations is a tedious task because the reasons for slow allocations, a large garbage collection pause, or a high garbage collection frequency might not be obvious.
منابع مشابه
Two-Pass Heap Profiling: A Matter of Life and Death
A heap proole is a chart showing the contents of heap memory throughout a computation. Contents are depicted abstractly by showing how much space is occupied by memory cells in each of several classes. A good heap prooler can use a variety of attributes of memory cells to deene a classiication. EEective prooling usually involves a combination of attributes. The ideal prooler gives full support ...
متن کاملA Quantitative Analysis of Space Waste from Java Strings and its Elimination at Garbage Collection Time
This paper describes a novel approach to reduce the memory consumption of Java programs, by reducing the string memory waste in the runtime. In recent Java applications, string data occupies a large amount of the heap area. For example, more than 30% of the live heap area is used for string data when WebSphere Application Server with Trade6 is running. By investigating the string data in real J...
متن کاملLag , drag and post - mortem heap pro ling ( preliminary note )
The context for this paper is functional computation by graph reduction. Our overall aim is more eecient use of memory. The speciic topic is the detection of dormant cells in the live graph | those retained in heap memory though not actually playing a useful role in computation. We describe a prooler that can identify heap consumption by suchùseless' cells. Unlike heap proolers based on travers...
متن کاملComprehensive Profiling Support in the Java Virtual Machine
Existing profilers for Java applications typically rely on custom instrumentation in the Java virtual machine, and measure only limited types of resource consumption. Garbage collection and multi-threading pose additional challenges to profiler design and implementation. In this paper we discuss a general-purpose, portable, and extensible approach for obtaining comprehensive profiling informati...
متن کاملUtility of Silver Nitrate Test for Post-Mortem Diagnosis of Aluminum Phosphide Poisoning
Background: Intoxication with aluminum phosphide has been prevalent in Iran recently. Lab confirmation of the poisoning is needed in clinical and post-mortem settings. Present study was conducted to determine efficiency and validity of silver nitrate test for detection of aluminum phosphide in samples. Methods: Information about dead patients with history of aluminum phosphide poisoning refer...
متن کامل